import request from '@/utils/request'

// 用户点击登录的请求
export const userLoginService = ({ phone, password }) => {
  return request.get('/login', {params: {
    phone,
    password
  } })
}
// 用户注册的请求
export const userRegisterService = ({ phone, password }) => {
  return request.post('/register', { phone, password })
}